package com.chezhujie.www.persistence;

import java.util.List;
import java.util.Map;

import com.chezhujie.www.domain.Czjactivity;
import com.chezhujie.www.domain.vo.ActDetailAndFest;
import com.chezhujie.www.domain.vo.ActDetailAndFestAndUserVO;
import com.chezhujie.www.domain.vo.OrderDeVO;


/**
 * Created by 汤伟杰 on 2017/5/23.
 */
public interface CzjactivityMapper {

	void insertCzjactivity(Czjactivity czjactivity);

	int getTotalApiRows(Map<String, Object> map);

	List<ActDetailAndFest> listCzjactivityApi(Map<String, Object> map);

	int getTotalQueryRows(Map<String, Object> map);

	List<ActDetailAndFest> listCzjactivityQuery(Map<String, Object> map);

	void updateCzjactivity(Czjactivity czjactivity);

	Czjactivity getCzjactivity(Map<String, Object> map);

	ActDetailAndFest getActDetailAndFest(Map<String, Object> map);


    Map<String,Object> getOrderedByNo(String orderNo);

    Czjactivity queryById(String id);

    void updateOrderStatus(Map<String, Object> map);

	int getPay1();

	int getPay2();

	Integer getNum(String activityId);

	ActDetailAndFestAndUserVO getActDeAndFestUser(String activityId);


}
